<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet"
	href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://cdn.staticfile.org/jquery/2.1.4/jquery.min.js"></script>
<script
	src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="../../js/banner.js"></script>
<title>轮播图片管理</title>
</head>
<body>
	<button name="deleteItems" class="btn">批量删除</button>
	<form action="../../insertBanner.action" enctype="multipart/form-data" method="post">
		<table class="table">
			<tr>
				<th>轮播图片</th>
			</tr>
			<tr>
			<td><img src='' class='img'></td>
			<td><input type="file" name="inputfile" class='imgInput'></td>
			<td>图片名称：<input name="bannerName"></td>
			<td><button type='submit' class = 'btn'>提交添加</button></td>
			</tr>
		</table>
	</form>
	<form id="form" method="post">
		<table class="table" id="table">
			<tr>
				<td>当前轮播图片</td>
				<td></td>
			</tr>
		</table>
		<button name='delete' style="display: none;" type="submit" form="form"
			class="btn" formaction="../../deleteBanner.action">删除</button>
	</form>
</body>
</html>